package com.service;

import com.pojo.CarouselFigure;
import com.pojo.Classify;
import com.pojo.PageBean;
import com.pojo.Product;

import java.text.ParseException;
import java.util.List;

public interface ProductService {
    PageBean<Product> findAll(int limit, int current);

    Product findByID(String id);

    boolean deleteP(String id);

    boolean addP(Product product);

    boolean update(Product product);

    List<Product> newProduct();

    List<Product> sortProduct(String productTypeName,String limit);

    List<Product> findProducts(Classify classify);

    List<Product> findSimilarGoodsByID(String id);
}
